<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta charset="UTF-8">
        <title>管理后台</title>
    </head>
    <body bgcolor="#CED3FE">
        <a href="#">返回管理页面</a>
        <a href="#" th:href="@{/}">安全退出</a>
        <!--行内取法-->
        欢迎您:[[${session.loginUser.username}]]
        <hr/>
        <div style="text-align: center">
            <h1>管理雇员</h1>
            <table border="1px" cellspacing="0" bordercolor="green" style="margin:0 auto;text-align: center;width: 80%">
                <tr bgcolor="pink">
                    <td>id</td>
                    <td>name</td>
                    <td>pwd</td>
                    <td>age</td>
                    <td>email</td>
                </tr>
                <tr bgcolor="pink" th:each="user:${users}">
                    <td th:text="${user.id}">a</td>
                    <td th:text="${user.username}">b</td>
                    <td th:text="${user.password}">c</td>
                    <td th:text="${user.age}">d</td>
                    <td th:text="${user.email}">e</td>
                </tr>
            </table>
            <br/>
        </div>

    </body>
</html>